home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre4.z / postgre4 / src / test / testvacuum.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-27  |  488 b   |  29 lines

  1. /*
  2.  * testvacuum.c --
  3.  *    Transaction id test code.
  4.  */
  5.  
  6. #include "fmgr.h"    /* for M_STATIC/M_DYNAMIC */
  7.  
  8. #include <stdio.h>
  9.  
  10. #include "c.h"
  11.  
  12. #include "xid.h"
  13.  
  14. RcsId("$Header: /private/postgres/src/test/RCS/testvacuum.c,v 1.3 1989/09/05 16:55:04 mao Version_2 $");
  15.  
  16. TestMain()
  17. {
  18.     static bool    beenHere = false;
  19.  
  20.     if (beenHere) {
  21.         elog(1 /* FATAL */, "testvacuum: error occurred");
  22.     } else {
  23.         beenHere = true;
  24.     }
  25.  
  26.     StartVacuum();
  27.     /* elog(1 (* FATAL *), "testvacuum: error occurred"); */
  28. }
  29.